package com.example.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.mybatisplus.entity.User;
import com.example.mybatisplus.entity.vo.UserVo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangtengfei
 * @since 2024-01-24
 */
public interface UserMapper extends BaseMapper<User> {

    User getUserByName(String name);

    IPage<UserVo> selectPageVo(IPage<?> page, Integer state);
}
